package com.example.test13spring.aop.test1;

import com.example.config.TxConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: fxy
 * @Date: 2022/09/05/18:50
 * @Description:
 */
public class TxTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TxConfig.class);
        ServiceTest bean1 = context.getBean(ServiceTest.class);
        bean1.doSome1("1");

    }
}
